package com.kyle.redpacket.service;

import com.kyle.redpacket.dao.entity.RedPacket;
import com.kyle.redpacket.dao.entity.RedRecord;

public interface IRedPacketService {
    //发红包核心业务逻辑的实现
    RedPacket handOut(RedPacket rp) throws Exception;

    //抢红包
    RedRecord rob(Long userId,
                  Long robUserId,
                  String redId) throws Exception;
}